const initState = {
    loading:false
};
const PROJECT_NAME = 'global'
// redux状态
export const SORT_BASE_SET = {
    name:'global',
    redux:'global'
}

export const loadingStatus = `${PROJECT_NAME}/loading`;

export default (state = initState, action) => {
    switch (action.type) {
        case loadingStatus:
            return {
                ...state,
                loading: action.loading
            };
        default:
            return {
                ...state
            };
    }
}